package com.xueyi.system.temperature.service.impl;

import com.xueyi.system.temperature.domain.query.BaseShedTemperatureQuery;
import com.xueyi.system.temperature.domain.dto.BaseShedTemperatureDto;
import com.xueyi.system.temperature.service.IBaseShedTemperatureService;
import com.xueyi.system.temperature.manager.IBaseShedTemperatureManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 库房温度管理 服务层处理
 *
 * @author yanhe
 */
@Service
public class BaseShedTemperatureServiceImpl extends BaseServiceImpl<BaseShedTemperatureQuery, BaseShedTemperatureDto, IBaseShedTemperatureManager> implements IBaseShedTemperatureService {

    /**
     * 查询库房温度对象列表 | 数据权限 | 附加数据
     *
     * @param baseShedTemperature 库房温度对象
     * @return 库房温度对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseShedTemperatureMapper"})
    public List<BaseShedTemperatureDto> selectListScope(BaseShedTemperatureQuery baseShedTemperature) {
        return baseManager.selectListExtra(baseShedTemperature);
    }

}